<?php
include("util/out_fxn.php");
session_start();
$title="View Uploads";
do_html_header($title);
if(!check_valid_user()){
	do_session_failed();
}
else{
	$comingFromUploadForm = $_POST['_stage'];
	$action='ViewSingleEnlarge.php';
	if($comingFromUploadForm)
	{
		do_main_form($title,do_upload_get_list(),$action);
	}
	else 
	{
		do_main_form($title,get_upload_photo_list(),$action);
	}
}
do_html_footer();
?>
